//
//  BC_Hashrecord.m
//  CocOth
//
//  Created by BrunoCausse on 11/03/11.
//  Copyright 2011 poulailler cie. All rights reserved.
//

#import "BC_Hashrecord.h"


@implementation BC_Hashrecord

@synthesize lock, packed;

- (id)init
{
    self = [super init];
    if (self) {
        // Initialization code here.
        lock = 0;
        packed = 0;
    }
    
    return self;
}

- (void)dealloc
{
    [super dealloc];
}

- (unsigned char)get_move
{
    return (unsigned char)((packed>>32) & 0x00000000000000FFULL);
}

- (unsigned char)get_selectivity
{
    return (unsigned char)((packed>>40) & 0x00000000000000FFULL);
}

- (unsigned char)get_depth
{
    return (unsigned char)((packed>>48) & 0x00000000000000FFULL);
}


@end
